package com.spring.cloud.study.controller;

import com.spring.cloud.study.collection.SysUserFeignI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/2/28
 * Time: 15:10
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@RestController
@RequestMapping("/api")
public class TestController {

    @Autowired
    private SysUserFeignI sysUserFeignI;

    @RequestMapping("/test1")
    public String test1(){
        return sysUserFeignI.test1();
    }

    @RequestMapping("/test2")
    public String test2(){
        return sysUserFeignI.test1();
    }
}
